package cn.huiyunche.base.service.framework.exception;

/**
 * 错误枚举.
 *
 * @author zhaoshb
 */
public enum AppError {

    AuthenticationInvalidError("0", "认证信息无效"), UsermamePasswordInvlidError("1", "用户名密码不正确"),
    FormTooLarge("3", "数据太大"), UserUnableInvalidError("5004", "用户不可用");

    AppError(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    String code;

    String msg;

    public String getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }

}
